import { request } from '../request.js'
const information = {
	initData (params) {
	  return request({
	    method: 'Post',
	    url: '/api/uac/front/member/detail',
	    params: params
	  })
	},
	// 修改出生日期
	setBirth (params) {
	  return request({
	    method: 'Post',
	    url: '/api/uac/front/member/setBirth',
	    params: params
	  })
	},
	// 修改性别
	setGender (params) {
	  return request({
	    method: 'Post',
	    url: '/api/uac/front/member/setGender/'+params,
	  })
	},
	// 修改地区
	setLoc (params) {
	  return request({
	    method: 'Post',
	    url: '/api/uac/front/member/setLoc',
	    params: params
	  })
	},
	// 修改昵称
	setNickName (params) {
	  return request({
	    method: 'Post',
	    url: '/api/uac/front/member/setNickName',
	    params: params
	  })
	},
	// 修改头像
	setAvator (params) {
	  return request({
	    method: 'Post',
	    url: '/api/uac/front/member/setAvator',
	    params: params
	  })
	},
	// 修改地区
	setLoc (params) {
	  return request({
	    method: 'Post',
	    url: '/api/uac/front/member/setLoc',
	    params: params
	  })
	},
	}
export default information